//
//  ZHSTestWordView.m
//  CollegeEnglishTest
//
//  Created by 张孟亭 on 2022/4/6.
//  Copyright © 2022 zhihuishu. All rights reserved.
//

#import "ZHSTestWordView.h"
#import <Masonry/Masonry.h>
@implementation ZHSTestWordView

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        [self createView];
    }
    return self;
}

- (void)createView {
    UIView *view = [[UIView alloc] init];
    view.backgroundColor = [UIColor redColor];
    [self addSubview:view];
    [view mas_makeConstraints:^(MASConstraintMaker *make) {
        make.center.equalTo(self);
        make.size.mas_equalTo(CGSizeMake(100, 100));
    }];
}

@end
